style.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. // 위젯 페이지: OBS·미리보기 iframe 한정 — 스크롤 숨김
  2. html, body {
  3. overflow: hidden;
  4. }
  5. .alert-page {
  6. width: 100vw;
  7. height: 100vh;
  8. display: flex;
  9. align-items: center;
  10. justify-content: center;
  11. background: transparent;
  12. container-type: inline-size;
  13. }
  14. .donation-alert {
  15. display: flex;
  16. flex-direction: column;
  17. align-items: center;
  18. justify-content: center;
  19. text-align: center;
  20. width: 100%;
  21. height: 100%;
  22. &.alert-show {
  23. opacity: 1;
  24. transform: translateY(0);
  25. }
  26. &__image {
  27. display: flex;
  28. justify-content: center;
  29. width: 100%;
  30. margin-bottom: 16px;
  31. img {
  32. max-width: min(200px, 100%);
  33. max-height: 200px;
  34. object-fit: contain;
  35. filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  36. }
  37. }
  38. &__content {
  39. display: flex;
  40. flex-direction: column;
  41. gap: 8px;
  42. }
  43. &__sender {
  44. display: flex;
  45. flex-wrap: wrap;
  46. align-items: center;
  47. justify-content: center;
  48. gap: 8px;
  49. row-gap: 4px;
  50. font-weight: 700;
  51. text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  52. }
  53. &__name {
  54. font-family: var(--nickname-font-family, inherit);
  55. font-size: min(var(--nickname-font-size, 24px), 5cqi);
  56. color: var(--nickname-font-color, #FFD700);
  57. word-break: keep-all;
  58. overflow-wrap: break-word;
  59. }
  60. &__amount {
  61. font-family: var(--amount-font-family, inherit);
  62. font-size: min(var(--amount-font-size, 24px), 5cqi);
  63. color: var(--amount-font-color, #FF6B35);
  64. word-break: keep-all;
  65. overflow-wrap: break-word;
  66. }
  67. &__template-text {
  68. font-family: var(--template-font-family, inherit);
  69. font-size: min(var(--template-font-size, 24px), 5cqi);
  70. color: var(--template-font-color, #FFFFFF);
  71. word-break: keep-all;
  72. overflow-wrap: break-word;
  73. }
  74. &__message {
  75. font-family: var(--message-font-family, inherit);
  76. font-size: var(--message-font-size, 18px);
  77. font-weight: 500;
  78. color: var(--message-font-color, #FFFFFF);
  79. text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  80. max-width: 400px;
  81. word-break: keep-all;
  82. line-height: 1.4;
  83. margin: 0 auto;
  84. }
  85. &__crew {
  86. font-size: 14px;
  87. color: #A0D2FF;
  88. margin-top: 4px;
  89. }
  90. }
  91. @keyframes alertFadeOut {
  92. from {
  93. opacity: 1;
  94. transform: scale(1);
  95. }
  96. to {
  97. opacity: 0;
  98. transform: scale(0.8);
  99. }
  100. }